package engine.graphics.anim
{
	import engine.core.*;
	import engine.graphics.*;
	
	public class RxAnimatedParamUVTransform extends RxAnimatedParamBase
	{
		protected var m_valueStart:RxUVTransform;
		protected var m_valueMid:RxUVTransform;
		protected var m_valueEnd:RxUVTransform;
		protected var m_valueCurrent:RxUVTransform;
		private static var s_pool:RxObjectPool = null;
		
		public function RxAnimatedParamUVTransform()
		{
			this.m_valueStart = new RxUVTransform();
			this.m_valueMid = new RxUVTransform();
			this.m_valueEnd = new RxUVTransform();
			this.m_valueCurrent = new RxUVTransform();
		}
		
		public static function CreatePool(initSize:uint, growSize:uint) : void
		{
			var allocFunc:Function = function () : Object
			{
				return new RxAnimatedParamUVTransform();
			};
			s_pool = new RxObjectPool(allocFunc, null, initSize, growSize, RxAnimatedParamUVTransform);
		}
	}
}